﻿using System;

namespace Flowgraph.Attributes
{
    [AttributeUsage(AttributeTargets.Class)]
    public class ExposeType : Attribute
    {
        //---------------------------------------------------------------------------------------
        private readonly int m_Version;
        private readonly int m_ExposureMask;
        private readonly bool m_Async;

        //---------------------------------------------------------------------------------------
        public int Version { get { return m_Version; } }
        public int ExposureMask { get { return m_ExposureMask; } }

        //---------------------------------------------------------------------------------------
        public ExposeType(int lVersion, int lVisible = 0xFFFF)
        {
            m_Version = lVersion;
            m_ExposureMask = lVisible;
            m_Async = false;
        }
    }
}

